'use strict';

function choose_even(collection) {
  let arr=collection.filter(
    function filtered(element){
      return element%2==0;
    }
  );
  return arr;
}

module.exports = choose_even;
